package com.demo.mysql.base;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

public class MultipleDataSource extends AbstractRoutingDataSource {

    public MultipleDataSource() {
    }

    protected Object determineCurrentLookupKey() {

        return DataSourceSelector.get();
    }
}